Returning multiple values from a Function in C